/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$('document').ready(function() {
    var xml = "<jnlp spec='1.0+' codebase='' href=' '>";
    xml += "<information>        <title>CCC Programing</title>";
    xml += "<vendor>Sydwell Williams</vendor>";
    xml += "<offline-allowed/> </information>";
    xml += "<resources>";
//xml +="        <!-- Application Resources -->";
    xml += "<j2se version='1.6+' href='http:///java.sun.com//products//autodl//j2se' /> <jar href='CCC.jar' main='true' />";
    xml += "</resources>";

    xml += "<applet-desc name='CCC Programming Applet' main-class='pseudo_ASH.PseudoMain'  width='700' height='300'>  </applet-desc>";
    xml += "<resources><jar href='sydpak.jar'/><jar href='edtftpj-1.5.2.jar'/><jar href='jdom.jar'/><jar href='plugin.jar'/></resources>";
    xml += "<security> <all-permissions/> </security>";
    xml += "<update check='background'/>";
    xml += "</jnlp>";
    var xmlDoc = $.parseXML(xml);
    var $xml = $(xmlDoc);
    var $title = $xml.find("title");

    /* append "RSS Title" to #someElement */
    $("#someElement").append($title.text());

    /* change the title to "XML Title" */
    $title.text("XML Title");

    /* append "XML Title" to #anotherElement */
    $("#anotherElement").append($title.text());
// $("#<a href='ccc_applet.jnlp'>Launch My Application</a>");  window.screen.availWidth

});


